package d9_extends_modify1;

import d9_extends_modify.Fu;

public class Zi extends Fu {
    public void print() {
        //privateMethod();//报错
        //method();//报错
        protectedMethod();
        publicMethod();
    }

    public static void main(String[] args) {
        Zi zi = new Zi();
//        zi.privateMethod();
//        zi.method();
        zi.protectedMethod();
        zi.publicMethod();
    }
}
